package com.fenghuajueli.module_find_the_difference.zhao;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.fenghuajueli.module_find_the_difference.SPHelper;


public abstract class BasePresenter<T> {

    protected Context context;
    protected SPHelper spHelper;
    public BasePresenter(Context context) {
        this.context = context.getApplicationContext();
        spHelper = SPHelper.getInstance(context);
    }

    public abstract void takeView(T view, Bundle data);

    public abstract void dropView();

    public abstract void resumeView();

    public abstract void pauseView();

    public abstract void onActivityResult(int requestCode, int resultCode, Intent data);
}
